Signed-off-by: Ewan Mellor <ewan@xensource.com>
self.cpus[u] = {'uuid': u, 'number': i }
for u in self.cpus.keys():
- log.error(self.cpus[u])
number = self.cpus[u]['number']
# We can run off the end of the cpuinfo list if domain0 does not
# have #vcpus == #pcpus. In that case we just replicate one that's
# in the hash table.
if not cpuinfo.has_key(number):
number = cpuinfo.keys()[0]
- log.error(number)
- log.error(cpuinfo)
if arch.type == "x86":
self.cpus[u].update(
{ 'host' : self.uuid,